package com.ruoyi.project.poem.poemuserinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 诗词用户信息对象 user_info
 * 
 * @author shixiangwen
 * @date 2022-10-11
 */
public class PoemUserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** null */
    @Excel(name = "null")
    private String userId;

    /** null */
    @Excel(name = "null")
    private String nickname;

    /** null */
    @Excel(name = "null")
    private String portrait;

    /** null */
    @Excel(name = "null")
    private String signed;

    /** null */
    @Excel(name = "null")
    private Integer gender;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date msgTime;

    /** null */
    @Excel(name = "null")
    private String tags;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** null */
    @Excel(name = "null")
    private String major;

    /** null */
    @Excel(name = "null")
    private String minor;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setPortrait(String portrait) 
    {
        this.portrait = portrait;
    }

    public String getPortrait() 
    {
        return portrait;
    }
    public void setSigned(String signed) 
    {
        this.signed = signed;
    }

    public String getSigned() 
    {
        return signed;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setMsgTime(Date msgTime) 
    {
        this.msgTime = msgTime;
    }

    public Date getMsgTime() 
    {
        return msgTime;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setMinor(String minor) 
    {
        this.minor = minor;
    }

    public String getMinor() 
    {
        return minor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("nickname", getNickname())
            .append("portrait", getPortrait())
            .append("signed", getSigned())
            .append("gender", getGender())
            .append("birthday", getBirthday())
            .append("createdTime", getCreatedTime())
            .append("msgTime", getMsgTime())
            .append("tags", getTags())
            .append("updatedTime", getUpdatedTime())
            .append("major", getMajor())
            .append("minor", getMinor())
            .toString();
    }
}
